package com.example.wxback.dao;

import com.alibaba.fastjson.JSONObject;
import com.example.wxback.model.ConfigInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConfigDao {

    List<JSONObject> list(JSONObject jsonObject);

    ConfigInfo getById(@Param("id") Integer id);

    int insert(@Param("config") ConfigInfo configInfo);

    int update(@Param("config") ConfigInfo configInfo);
}
